package com.xsj.service;


import com.xsj.dto.ResponseDto;
import com.xsj.pojo.Merchant;
import com.xsj.pojo.MerchantType;
import com.xsj.xzxDto.ResponseDTO;

import java.util.HashMap;
import java.util.List;

public interface MerchantService {
    ResponseDto getMerchantInfo(Integer typeId, String selectedAddress, double latitude, double longitude);

    Merchant getMerchantInfoById(Integer merchantId);

    //获取类型
    List<MerchantType> getMerchantType();

    //搜索商品或店铺
    List<HashMap<String,Object>> searchMerchant(String search);

    /**
     * @Description: 根据用户地址获取最近店铺
     * @Param: latitude，longitude
     * @Return: ResponseDTO
     * @Author: 阿⭐
     * @Date: 2025/6/26
     */
    ResponseDTO getMerInfoByLocation(double latitude, double longitude,String selectedAddress);
}
